<!doctype html>
<html>
<head>
	<meta http-equiv="Content-type" content="text/html; charset=utf-8"/>
	<title>参考对照学习</title>
	 <script src="core.js"></script>
	 <script src="sizzle.js"></script>
	 <script src="other.js"></script>
</head>
<body>

<ul>
<li>list item 1</li>
<li>list item 2</li>
<li>list item 3</li>
<li>list item 4</li>
<li>list item 5</li>
<li>list item 6</li>
</ul>

<script type="text/javascript">

var li = $('ii');





console.log(   .filter(':even') )
//console.log( li.find('li')  )



function sibling(n, elem) {
  var matched = [];
  for (; n; n = n.nextSibling) { //如果存在下一个兄弟节点
    if (n.nodeType === 1 && n !== elem) { //是元素节点，且不是当前选择器元素
      matched.push(n);
    }
  }
  return matched;
}

var ul = document.querySelectorAll('.level-2')[0];



</script>

</body>
</html>